package top.shiyiri.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.shiyiri.bean.Advert;
import top.shiyiri.dao.AdvertDao;

import java.util.List;

/**
 * @author Aunean
 * @date 2021/12/16
 */

@Service
public class AdvertService {

    @Autowired
    private AdvertDao advertDao;

    public List<Advert> findAllAdverts() {
        return advertDao.findAllAdverts();
    }

    
}
